package poo.exo3;

public class EntrepriseJ {
	public static void main(String[] args){
		try{
			Employe e1=new Employe("John",13,50);
			System.out.println(e1);
			System.out.println(e1.calculSalaire());
		}
		catch(Exception e){
			System.out.println(e);
		}
		try{
			Employe e2=new Employe("Cecile",2,47);
			System.out.println(e2);
			System.out.println(e2.calculSalaire());
		}
		catch(Exception e){
			System.out.println(e);
		}
			
	}
}
